<template>
  <div class="common-layout">
    <el-container style="height: 100%">
      <el-header>
        <Header></Header>
      </el-header>
      <el-main>
        <RouterView />
      </el-main>
    </el-container>
  </div>
</template>

<script lang="ts" setup>
import Header from "../layout/EmployHeader.vue";
import { RouterView } from "vue-router";
import { useUserInfor } from "@/stores/userInfo";

const userStore = useUserInfor();
console.log(111);

userStore.queryEmployInfo();
</script>

<style scoped>
.common-layout {
  background-color: #f5f4f1 !important;
}
</style>